package com.ruoyi.order.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 蔬菜类型对象 crop_type
 * 
 * @author ruoyi
 * @date 2021-07-07
 */
public class CropType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主码 */
    private Long cropTypeId;

    /** 类型 */
    @Excel(name = "类型")
    private String cropType;

    public void setCropTypeId(Long cropTypeId) 
    {
        this.cropTypeId = cropTypeId;
    }

    public Long getCropTypeId() 
    {
        return cropTypeId;
    }
    public void setCropType(String cropType) 
    {
        this.cropType = cropType;
    }

    public String getCropType() 
    {
        return cropType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cropTypeId", getCropTypeId())
            .append("cropType", getCropType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
